package com.recource;
import com.baomidou.mybatisplus.core.toolkit.StringPool;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
/**
 * 启动这个
 */
@Slf4j
public class ResourceApplication {

    @Value("${server.port}")
    private static String port;
    @Value("${server.servlet.context-path}")
    private static String contextPath;

    public static void main(String[] args) {
        SpringApplication.run(ResourceApplication.class, args);
        log.info("启动路径:{}", "http://localhost:" + "8080" + StringPool.SLASH + "resource" + StringPool.SLASH + "login.html");
    }

}
